package com.eflow.model.e;

/**
 * @author hui se
 * @description 静态常量
 * @create 2021-02-26 09:52
 **/
public interface BpmConst {
    /**
     * 流程标题
     */
    public static final String VAR_PROCESS_TITLE = "PROCESS_TITLE_";
    /**
     * 跳过节点
     */
    public static final String SKIP_LIST = "SKIP_LIST_";
    /**
     * 跳过节点
     */
    public static final String VAR_REJECTED = "_rejected";
    /**
     * 任务提交意见
     */
    public static final String VAR_TASK_COMMENT = "TASK_COMMENT_";

    /**
     * 拓展参数属性
     */
    public static final String EXTENDED="extended";

    /**
     * 会签多实例处理人集合流程变量
     */
    public static final String VAR_TASK_MULTI_USER="multiUser_";

    /**
     * 选择的审批人集合
     */
    public static final String VAR_TASK_USER_LIST="userList_";

    /**
     * 会签多实例处理人流程变量
     */
    public static final String VAR_TASK_SINGLE_USER="singleUser_";
    /**
     * XML JSON格式的属性配置
     */
    public static final String XML_BODY="body";


    /**
     * 提交人的变量名称
     */
    public static final String FLOW_SUBMIT_TASK_VAL = "initiator";

    /**
     * 发起节点的名称
     */
    public static final String FLOW_SUBMIT_TASK_NAME = "流程发起";


     /**
     * 自动跳过节点设置属性
     */
    public static final String FLOWABLE_SKIP_EXPRESSION_ENABLED = "_FLOWABLE_SKIP_EXPRESSION_ENABLED";

        /**
     * 挂起状态
     */
    public static final int SUSPENSION_STATE = 2;
    /**
     * 激活状态
     */
    public static final int ACTIVATE_STATE = 1;
    //后加签
    public static final String AFTER_ADDSIGN = "after";
    //前加签
    public static final String BEFORE_ADDSIGN = "before";
    //监听器生效类型
    public static final String PROCESS_LISTENER_TYPE = "ALL";


    //脚本变量名称
    public static final String SCRIPT_VAR_NAME = "scriptVar";

    public static final String TOP_POST="TOP";

}
